package com.lbx.config;
import com.lbx.entity.User;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author 吕兵星
 */
@Configuration
public class SpringConfig {

    @Bean(name = "user")
    public User user(){
        return new User();
    }
    @Bean(name = "user1")
    public User user1(){
        return new User();
    }
}
